package com.bwie.mapper;

import com.bwie.common.domain.Activity;
import com.bwie.common.domain.Lottery;
import com.bwie.common.domain.Record;
import com.bwie.common.domain.response.AddResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @className: ActivityMapper
 * @Description: TODO
 * @version: v1.８.0
 * @author: 房新路
 * @date: 2025/8/7 20:14
 */
@Mapper
public interface ActivityMapper {
    List<Activity> activityList(Activity activity);

    List<Record> recordList(Record record);

    void activityAdd(AddResponse addResponse);

    Integer selectActivityId(@Param("activityName") String activityName);

    void lotteryAdd(AddResponse addResponse);

    Lottery selectLotteryIdActId(@Param("awardName") String awardName);

    void recordAdd(AddResponse addResponse);
}